package com.zyr.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

/**
 * @author 张雨润
 * @date 2024/7/25 下午6:21
 * @Description 白名单
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "white")
public class WhiteUrlConfig {
    private ArrayList<String> allowUrl;
}
